package com.sinaapp.zhangziyou.dao;

import java.util.List;
import java.util.Map;

import com.sinaapp.zhangziyou.pojo.UserEntity;

public interface UserDao {
	
	UserEntity getUserByName(String userName);

	UserEntity getUserById(String userID);
	
	UserEntity getUserByEmail(String email);
	
	void updateUserStatus(Map prmMap);

	void delUser(String userId);

	void delUsers(String[] userIds);

	void save(UserEntity userEntity);

	void update(UserEntity updateEntity);

	int existUser(String userName);

	int existEmail(String email);
	
	int queryDataCount(String userName);

	List<UserEntity> queryPageData(Map<String, Object> parameterMap);

}
